package com.softWang.system.controller.vo.systemAuth;

import com.softWang.system.po.SystemMenu;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface ConvertSystemUserMapper {
    ConvertSystemUserMapper INSTANCE = Mappers.getMapper(ConvertSystemUserMapper.class);

    UserInfoResult.MenuInfo toMemuInfo(SystemMenu menu);

    List<UserInfoResult.MenuInfo> toMemuInfo(List<SystemMenu> menus);
}
